﻿namespace DongFangGuoKai.TaskPlatform.Job.WarehousingIssuance.Dto
{
    public class WarehousingDto
    {
        /// <summary>
        /// 收货单Id 对应checkId验收单id
        /// </summary>
        public int? Id { get; set; }
        /// <summary>
        /// "收货单号",   对应checkNumber验收单号
        /// </summary>
        public string? BillNo { get; set; }

        public List<WarehousingDetailDto> AddReceivingBilDetails { get; set; }
    }

    public class WarehousingDetailDto
    {
        /// <summary>
        /// 收货单Id 对应checkId验收单id
        /// </summary>
        public int? BillId { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        public string? BatchNo { get; set; }
        /// <summary>
        /// 收货数量 对应 arrivalCount 到货数量   
        /// </summary>
        public int? ReceivedQty { get; set; }
        /// <summary>
        /// 物料编码 对应materialCode 物资编码
        /// </summary>
        public string? MaterialCode { get; set; }
        /// <summary>
        ///  物料名称 对应 materialName 物资名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 需求部门名称
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// 物资明细id
        /// </summary>
        public int CheckInfoId { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string MaterialNorms { get; set; }
    }

}
